<%@ page contentType="application/vnd.ms-excel" pageEncoding="ISO-8859-1"%> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%response.setHeader("Content-Disposition", "attachment;filename=rekap Pembimbingan TA.xls"); %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Laporan</title>

</head>
<body>

         
				
<div class="form_description">
<h2 align="center">Rekapitulasi Bimbingan TA Periode ${periodeRekapAwal} - ${periodeRekapAkhir}</h2>
<p></p>
					
</div>

<table id = "rounded-corner" width="100%" border="2" bordercolor="#000000">
				
<thead>
<tr>
<th width="56" class="table-header-repeat line-left minwidth-1">No</th>
<th width="290" class="table-header-repeat line-left minwidth-1"><a href="">Item Rekap</a></th>
<th width="173" class="table-header-repeat line-left minwidth-1"><a href="">Hasil</a></th>
</tr>
</thead>
<tbody>
<tr>
<td align="center">1</td>
<td>Rata - Rata Jumlah Mahasiswa per dosen pembimbing</td>
<td><b>${RataJlhMhsPerDosen}</b> Mahasiswa/Dosen Pembimbing</td>
</tr>
<tr>
<td align="center">2</td>
<td>Rata - Rata Jumlah Pertermuan Dosen - Mahasiswa</td>
<td><b>${RataPertemuan}</b> pertemuan</td>
</tr>
<tr>
<td align="center">3</td>
<td>Rata - Rata Lama Penyelesaian tugas Akhir</td>
<td><b>${RataLamaTA}</b> Bulan</td>
</tr>
</tbody>  
<br></br>

<thead>
<tr>
<th width="56" class="table-header-repeat line-left minwidth-1"><a href="">No</a></th>
<th width="290" class="table-header-repeat line-left minwidth-1"><a href="">Nama Dosen</a></th>
<th width="173" class="table-header-repeat line-left minwidth-1"><a href="">Jumlah Bimingan</a></th>
</tr>
</thead>
<tbody>
<% int i = 1; %>
<c:forEach items="${listMhsBimbingan}" var="listMhsBimbingan">
<tr>                                    
    <td align="center"><% out.print(i); i++;%></td>
    <td>
        <c:forEach items="${namaDosen}" var="namaDosen">
        <c:if test="${(namaDosen.user.idUser == listMhsBimbingan.idUser)}">    
        ${namaDosen.user.namaUser}
        </c:if>
        </c:forEach>
    </td>
    <td align="center">${listMhsBimbingan.jlhBimbingan} Mahasiswa</td>                                   
</tr>
</c:forEach> 		 
</tbody>  
</table>          
</body> 
</html>
